/*
 *    Copyright (c) 2018-2025, daoism All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: daoism
 */

package com.mkh.st.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 业务实体表
 *
 * @author daoism code generator
 * @date 2021-07-06 09:27:05
 */
@Data
@TableName("sys_business_entity")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "业务实体表")
public class SysBusinessEntity extends Model<SysBusinessEntity> {
	private static final long serialVersionUID = 1L;

    /**
     * 业务实体表主键
     */
    @TableId
    @ApiModelProperty(value="业务实体表主键")
    private Long businessId;
    /**
     * 业务实体编码
     */
    @ApiModelProperty(value="业务实体编码")
    private String businessCode;
    /**
     * 业务实体名称
     */
    @ApiModelProperty(value="业务实体名称")
    private String businessName;

	@ApiModelProperty(value="业务类型，1食堂2小B")
	private Integer businessType;

    /**
     * 所属公司id
     */
    @ApiModelProperty(value="所属公司id")
    private Long companyId;
    /**
     * 数据来源
     */
    @ApiModelProperty(value="数据来源")
    private String resource;
    /**
     * 启用标记 0禁用1启用
     */
    @ApiModelProperty(value="启用标记 0禁用1启用")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private String createdBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private String updatedBy;
    /**
     * 租户id
     */
    @ApiModelProperty(value="租户id",hidden=true)
    private Long tenantId;
    /**
     * 删除标记-0未删除，1已删除
     */
    @ApiModelProperty(value="删除标记-0未删除，1已删除")
    private Integer delFlag;

	@ApiModelProperty(value="创建人id")
	private Long createId;

	@ApiModelProperty(value="修改人id")
	private Long updateId;
}
